<?php
/**
 * Created by PhpStorm.
 * Admininfo: Administrator
 * Date: 2017/12/13
 * Time: 14:05
 */

namespace app\common\validate;
use think\Validate;
class Article extends Validate{
    protected $rule=[
              ["title","require|unique:article","标题不能为空|标题不能重复"],
              ["type","require","文章类型不能为空"],
          ];
}